/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 3/4/2011                        
            */

using System;
using System.Collections.Generic;
using System.Text;
namespace BusinessObject
{
    /// <summary>
    /// Define PhieuChuyenKhoResult object. This object used to contain data that returned from data layer.
    /// </summary>
    public class PhieuChuyenKhoResult
    {
        #region fields
        private Int64 maPhieuChuyenKho;
        private int chungXe;
        private string tenChungXe;
        private string nguoiNhap;
        private int maKhoChuyen;
        private string tenKhoChuyen;
        private int maKhoDen;
        private string tenKhoDen;
        private DateTime ngayNhap;
        #endregion fields

        #region properties
        /// <summary>
        /// Define MaPhieuChuyenKho Property.
        /// </summary>
        public Int64 MaPhieuChuyenKho
        {
            get { return this.maPhieuChuyenKho; }
            set { this.maPhieuChuyenKho = value; }
        }
        /// <summary>
        /// Define ChungXe Property.
        /// </summary>
        public int ChungXe
        {
            get { return this.chungXe; }
            set { this.chungXe = value; }
        }

        public string TenChungXe
        {
            get { return this.tenChungXe; }
            set { this.tenChungXe = value; }
        }
        public string TenKhoChuyen
        {
            get { return this.tenKhoChuyen; }
            set { this.tenKhoChuyen = value; }
        }
        public string TenKhoDen
        {
            get { return this.tenKhoDen; }
            set { this.tenKhoDen = value; }
        }
        /// <summary>
        /// Define NguoiNhap Property.
        /// </summary>
        public string NguoiNhap
        {
            get { return this.nguoiNhap; }
            set { this.nguoiNhap = value; }
        }
        /// <summary>
        /// Define MaKhoChuyen Property.
        /// </summary>
        public int MaKhoChuyen
        {
            get { return this.maKhoChuyen; }
            set { this.maKhoChuyen = value; }
        }
        /// <summary>
        /// Define MaKhoDen Property.
        /// </summary>
        public int MaKhoDen
        {
            get { return this.maKhoDen; }
            set { this.maKhoDen = value; }
        }
        /// <summary>
        /// Define NgayNhap Property.
        /// </summary>
        public DateTime NgayNhap
        {
            get { return this.ngayNhap; }
            set { this.ngayNhap = value; }
        }
        #endregion properties

        #region constructor
        /// <summary>
        /// Define default constructor for PhieuChuyenKhoResultResult Object.
        /// </summary>
        public PhieuChuyenKhoResult()
        {
            this.maPhieuChuyenKho = Int64.MinValue;
            this.chungXe = int.MinValue;
            this.nguoiNhap = string.Empty;
            this.maKhoChuyen = int.MinValue;
            this.maKhoDen = int.MinValue;
            this.ngayNhap = DateTime.MinValue;
        }
        /// <summary>
        /// Define constructor for PhieuChuyenKhoResultResult Object.
        /// </summary>
        public PhieuChuyenKhoResult(Int64 maPhieuChuyenKho,
                    int chungXe,
                    string nguoiNhap,
                    int maKhoChuyen,
                    int maKhoDen,
                    DateTime ngayNhap)
        {
            this.maPhieuChuyenKho = maPhieuChuyenKho;
            this.chungXe = chungXe;
            this.nguoiNhap = nguoiNhap;
            this.maKhoChuyen = maKhoChuyen;
            this.maKhoDen = maKhoDen;
            this.ngayNhap = ngayNhap;
        }
        #endregion constructor
    }
}